/*
 * @Date: 2025-03-25 11:00:18
 * @Auth: 873768511@qq.com
 * @LastEditors: 463997479@qq.com
 * @LastEditTime: 2025-09-25 16:15:35
 * @FilePath: \corpus\src\pages\resourceManagement\list\component\DetailDrawer\TableData.tsx
 */
import { Table } from 'antd';
import type { ColumnsType } from 'antd/es/table';

interface IProps {
  data?: any[];
  columns: ColumnsType<any>;
}

export default (props: IProps) => {
  const { data = [], columns } = props;
  console.log(data);
  return <Table key="columnEn" scroll={{ x: 460 }} dataSource={data} columns={columns} />;
};
